<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp"%>
<html>
<head>
<title>产品品牌管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/vip.css" type="text/css">
<script language=JavaScript src="/js/FoshanRen.js"></script>
</head>

<script type="text/javascript">
	function toPage(page) {
		var form = document.forms[0];
		form.page.value = page;
		form.submit();
	}
</script>


<body bgcolor="#FFFFFF" text="#000000" marginwidth="0" marginheight="0">
<html:form action="/control/brand/manage" method="post">
	<html:hidden property="page" />
	<input type="hidden" name="method" value="list">
	<table width="98%" border="0" cellspacing="1" cellpadding="2"
		align="center">
		<tr>
			<td colspan="7" bgcolor="6f8ac4" align="right"><%@ include
				file="/WEB-INF/page/share/fenye.jsp"%></td>
		</tr>
		<tr bgcolor="6f8ac4">
			<td width="30%">
			<div align="center"><font color="#FFFFFF">代号</font></div>
			</td>
			<td width="10%" nowrap>
			<div align="center"><font color="#FFFFFF">修改</font></div>
			</td>
			<td width="20%">
			<div align="center"><font color="#FFFFFF">产品品牌名称</font></div>
			</td>
			<td>
			<div align="center"><font color="#FFFFFF">LOGO</font></div>
			</td>
		</tr>
		<c:if test="${empty pageView.records}">
			<tr>
				<td bgcolor="f5f5f5" colspan="6" align="center">暂无品牌</td>
			</tr>
		</c:if>
		<!---------------------------LOOP START------------------------------>
		<c:forEach items="${pageView.records}" var="entry">
			<tr>
				<td bgcolor="f5f5f5">
				<div align="center">${entry.code}</div>
				</td>
				<td bgcolor="f5f5f5">
				<div align="center"><a
					href='<html:rewrite action="/control/brand/manage"/>?method=editUI&code=${entry.code}'><img
					src="/images/edit.gif" width="15" height="16" border="0"></a></div>
				</td>
				<td bgcolor="f5f5f5">
				<div align="center">
					${entry.name}
				</div>
				</td>
				<td bgcolor="f5f5f5"><img src="${entry.logoPath}" width="40" height="40"></img></td>
			</tr>
		</c:forEach>
		<!----------------------LOOP END------------------------------->
		<tr>
			<td colspan="7" bgcolor="6f8ac4" align="right"><%@ include
				file="/WEB-INF/page/share/fenye.jsp"%></td>
		</tr>
		<tr>
			<td bgcolor="f5f5f5" colspan="6" align="center">
			<table width="100%" border="0" cellspacing="1" cellpadding="3">
				<tr>
					<td width="5%"></td>
					<td width="85%"></td>
					<input name="AddDic" type="button" class="frm_btn" id="AddDic"
						onClick="javascript:window.location.href='<html:rewrite action="/control/brand/manage"/>?method=addUI'"
						value="添加品牌" />
					&nbsp;&nbsp;
					<input name="query" type="button" class="frm_btn" id="query"
						onClick="javascript:window.location.href='<html:rewrite action="/control/brand/manage"/>?method=queryUI'"
						value=" 查 询 " />
					&nbsp;&nbsp;
				</tr>
			</table>
			</td>
		</tr>
	</table>
</html:form>
</body>
</html>